package org.jsola.hr.vo;

import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_ID;

import java.util.List;

import org.jsola.core.vo.BaseTreeVO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【部门信息】列表展示对象")
@Data
public class AttendDepInfoTreeVO extends BaseTreeVO {

    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    /** 名称 */
    @ApiModelProperty(notes = "名称", example = "")
    private String name;

    /** 上级部门id */
    @ApiModelProperty(notes = "上级部门id", example = "")
    private String parentId;

    /** 是否选中 */
    @ApiModelProperty(notes = "是否选中", example = "true-是,false-否")
    private Boolean isSelected;

    @ApiModelProperty(notes = "是否部门;true-是,false-否", example = "")
    private Boolean isDept;

    @ApiModelProperty(notes = "父级节点名称", example = "")
    private String parentName;
}
